Fix lock issue for hvm pass-through domain
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 9 Oct 2008 10:14:52 +0000 (11:14 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 9 Oct 2008 10:14:52 +0000 (11:14 +0100)
commitcdb9a3d55985ae317f78f147dd3af5c02c564caf
tree139075c762de9af2e7346145118c0117c1eac1fb
parent7ae8a1e482744619d6f4b93d67a044523099eae7
Fix lock issue for hvm pass-through domain

This patch protect the hvm_irq_dpci structure with evtchn_lock, thus
the access to domain's pirq_vector mapping is also protected.

Signed-off-by: Jiang, Yunhong <yunhong.jiang@intel.com>
xen/arch/x86/hvm/svm/intr.c
xen/arch/x86/hvm/vmsi.c
xen/arch/x86/hvm/vmx/intr.c
xen/arch/x86/irq.c
xen/drivers/passthrough/io.c
xen/drivers/passthrough/pci.c
xen/drivers/passthrough/vtd/x86/vtd.c
xen/include/asm-x86/hvm/irq.h
xen/include/xen/irq.h